package com.itheima.pojo.client;

import java.math.BigDecimal;

/**
 * @author ChenJunJie
 * @date 2022/6/21 11:44
 */
public class OrderAddDto {
    /**
     * 订单编号
     */
    private String id;
    /**
     * 订单号
     */
    private String number;
    /**
     * 0禁用 1启用
     */
    private Integer status;
    /**
     * 用户编号
     */
    private String userId;
    /**
     * 地址编号
     */
    private String addressBookId;
    /**
     * 订单创建时间
     */
    private String orderTime;
    /**
     * 订单付款时间
     */
    private String checkoutTime;
    /**
     * 付款方式
     */
    private Integer payMethod;
    /**
     * 总金额
     */
    private BigDecimal amount;
    /**
     * 订单备注
     */
    private String remark;
    /**
     * 用户名
     */
    private String username;
    /**
     * 电话
     */
    private String phone;
    /**
     * 地址
     */
    private String address;
    /**
     * 收件人
     */
    private String consignee;

    public OrderAddDto() {
    }

    public OrderAddDto(String id, String number, Integer status, String userId, String addressBookId, String orderTime, String checkoutTime, Integer payMethod, BigDecimal amount, String remark, String username, String phone, String address, String consignee) {
        this.id = id;
        this.number = number;
        this.status = status;
        this.userId = userId;
        this.addressBookId = addressBookId;
        this.orderTime = orderTime;
        this.checkoutTime = checkoutTime;
        this.payMethod = payMethod;
        this.amount = amount;
        this.remark = remark;
        this.username = username;
        this.phone = phone;
        this.address = address;
        this.consignee = consignee;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAddressBookId() {
        return addressBookId;
    }

    public void setAddressBookId(String addressBookId) {
        this.addressBookId = addressBookId;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getCheckoutTime() {
        return checkoutTime;
    }

    public void setCheckoutTime(String checkoutTime) {
        this.checkoutTime = checkoutTime;
    }

    public Integer getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(Integer payMethod) {
        this.payMethod = payMethod;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    @Override
    public String toString() {
        return "OrderAddDto{" +
                "id='" + id + '\'' +
                ", number='" + number + '\'' +
                ", status=" + status +
                ", userId='" + userId + '\'' +
                ", addressBookId='" + addressBookId + '\'' +
                ", orderTime='" + orderTime + '\'' +
                ", checkoutTime='" + checkoutTime + '\'' +
                ", payMethod=" + payMethod +
                ", amount=" + amount +
                ", remark='" + remark + '\'' +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", consignee='" + consignee + '\'' +
                '}';
    }
}
